package com.example.springboot.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

@TableName("collectionstype")
@Data
public class CollectionsType extends BaseEntity implements Serializable {
    @TableId(value = "id",type = IdType.AUTO)
    private String name;
    private String remark;
    private Integer pid;
    private String cover;
    private String type;

    private List<CollectionsType> children;
}
